<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<script src="${pageContext.request.contextPath}/resources/js/sockjs-0.3.min.js"></script>

<script type="text/javascript">            
window.onload = function connect() {
	
        if ('WebSocket' in window) {
            ws= new WebSocket("ws://localhost:8080/Shand/websck");
        }
        else if ('MozWebSocket' in window) {
            ws = new MozWebSocket("ws://localhost:8080/Shand/websck");
        }
        else {
            ws = new SockJS("http://localhost:8080/Shand/sockjs/websck");
        }
        ws.onopen = function () {
          
        };
        ws.onmessage = function (event) {
          
       		var obj = eval('(' + event.data + ')');
       		
       		$("#msg1").text(obj.msg1);
       		$("#msg2").text(obj.msg2);
       		$("#msg3").text(obj.msg3);

        };
        ws.onclose = function (event) {

        };
    }
</script>
<div class=""  style="position: absolute; top: 0;">
			<img alt="" src="${pageContext.request.contextPath}/resources/images/Notice.gif" width="55px" height="53px" style=" top: 0; margin-right: 55px; float: left; margin-left: 20px;">
			<marquee style="margin: 0 !important; padding: 0; top:0; float:left; padding-left: 2em; margin-left: 55px;" direction="up" behavior="scroll" scrollamount="1" scrolldelay="0" loop="-1" width="1000"  height="55px"  bgcolor="#FFF" >
				<p><font id="msg1" size="4" color="red"> </font></p>
				<p ><font id="msg2" size="4" color="red"> </font></p>
				<p ><font id="msg3" size="4" color="red"> </font></p>
			</marquee>
</div>
<!--body wrapper start-->
<div class="wrapper">


</div>

